﻿using System;
using System.Collections.Generic;
using System.Linq;
using TuxedoLib;

namespace SpaceSquirrel.SpriteRenderers
{
	class AcornTopRenderer : SpriteRenderer
	{
		public override void Render(Sprite sprite, PlayScene scene, Image screen, int offsetX, int offsetY, int renderCounter)
		{
			int left = sprite.x + offsetX - 8;
			int top = sprite.y + offsetY - 8;
			//int width = 16;
			//int height = 16;
			string path = "acorn_projectile_1";
			path = "sprites/" + path + ".png";
			Image img = ImageLibrary.GetImage(path);
			screen.Blit(img, left, top);
		}
	}
}
